home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / getfilename.1 < prev    next >
Text File  |  1995-07-25  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ggggeeeettttffffiiiilllleeeennnnaaaammmmeeee((((1111))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 1111))))      ggggeeeettttffffiiiilllleeeennnnaaaammmmeeee((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           getfilename - Ask the user to name a file in a given format
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ggggeeeettttffffiiiilllleeeennnnaaaammmmeeee  format-name file-name
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           The _g_e_t_f_i_l_e_n_a_m_e program will ask the user for the name of a
  16.           file in the specified format, and will copy that file to the
  17.           file-name given as the second argument.
  18.  
  19.           If this doesn't sound very useful by itself, you're right.
  20.           However, this turns out to be all you need in order to add
  21.           some useful functionality to mailcap-oriented programs such
  22.           as mailto(1).  For example, the following line in a mailcap
  23.           file allows mailto to help the user include PostScript in
  24.           outgoing mail:
  25.  
  26.           application/postscript ; lpr -Pipa %s ; description="Include
  27.           a Postscript File";compose="getfilename Postscript %s"
  28.  
  29.  
  30.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.           mailto(1), metamail(1)
  32.  
  33.      BBBBUUUUGGGGSSSS
  34.           This is such a tiny program it might actually be bug-free,
  35.           but I wouldn't bet on it.
  36.  
  37.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  38.           Copyright (c) 1991 Bell Communications Research, Inc.
  39.           (Bellcore)
  40.  
  41.           Permission to use, copy, modify, and distribute this
  42.           material for any purpose and without fee is hereby granted,
  43.           provided that the above copyright notice and this permission
  44.           notice appear in all copies, and that the name of Bellcore
  45.           not be used in advertising or publicity pertaining to this
  46.           material without the specific, prior written permission of
  47.           an authorized representative of Bellcore.  BELLCORE MAKES NO
  48.           REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY OF THIS
  49.           MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", WITHOUT
  50.           ANY EXPRESS OR IMPLIED WARRANTIES.
  51.  
  52.      AAAAUUUUTTTTHHHHOOOORRRR
  53.           Nathaniel S. Borenstein, Bellcore
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 6/30/95)
  64.  
  65.  
  66.  
  67.